package com.bskj.common.bean.model;

import java.util.Date;

/**
 * 
 * @author lishi
 * @date 2018年5月7日 上午12:11:47
 */
public class BmsRole extends BaseModels implements BaseModel {
	private Integer id;
	private String name;
	private Integer custId; //账号归属ID（如果type是1就是停车场t_parking_lot_customer.id，如果type是2 就是t_parking_shop.id）
	private int type = 1; //1-停车场物业管理用户   2-停车场内商户管理用户
	private Integer operator; //操作人（t_bms_user.id）
	private Date createTime;
	private Date updateTime;
	
	@Column
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	@Column
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	@Column
	public Integer getCustId() {
		return custId;
	}

	public void setCustId(Integer custId) {
		this.custId = custId;
	}
	@Column
	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}
	@Column
	public Integer getOperator() {
		return operator;
	}

	public void setOperator(Integer operator) {
		this.operator = operator;
	}
	@Column
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	@Column
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
}
